<?xml version="1.0"?>
<Template Originator="Lluis Sanchez" Created="3/09/2001" LastModified="3/09/2001">
	
	<TemplateConfiguration>
		<_Name>Dialog</_Name>
		<Icon>md-gui-file</Icon>
		<_Category>Gtk</_Category>
		<LanguageName>*</LanguageName>
		<ProjectType>DotNetAssembly</ProjectType>
		<_Description>Creates a Gtk dialog.</_Description>
		<DefaultFilename>Dialog</DefaultFilename>
	</TemplateConfiguration>
	
	<Conditions>
		<PartialTypeSupport Requirement="Disabled" />
		<HasReference Assembly="gtk-sharp" />
	</Conditions>
	
	<TemplateFiles>
		<Widget DefaultName="${Name}">
			<SteticTemplate>
			  <widget class="Gtk.Dialog" id="${FullName}" design-size="400 300">
			    <property name="Events">0</property>
			    <property name="Title" translatable="yes">dialog1</property>
			    <property name="WindowPosition">CenterOnParent</property>
			    <property name="Buttons">2</property>
			    <property name="HelpButton">False</property>
			    <property name="HasSeparator">False</property>
			    <child internal-child="VBox">
			      <widget class="Gtk.VBox" id="dialog1_VBox">
			        <property name="MemberName" />
			        <property name="Events">0</property>
			        <property name="BorderWidth">2</property>
			        <child>
			          <placeholder />
			        </child>
			      </widget>
			    </child>
			    <child internal-child="ActionArea">
			      <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
			        <property name="MemberName" />
			        <property name="Events">0</property>
			        <property name="Spacing">10</property>
			        <property name="BorderWidth">5</property>
			        <property name="Size">2</property>
			        <property name="LayoutStyle">End</property>
			        <child>
			          <widget class="Gtk.Button" id="buttonCancel">
			            <property name="MemberName" />
			            <property name="CanDefault">True</property>
			            <property name="CanFocus">True</property>
			            <property name="Events">0</property>
			            <property name="UseStock">True</property>
			            <property name="Type">StockItem</property>
			            <property name="StockId">gtk-cancel</property>
			            <property name="IsDialogButton">True</property>
			            <property name="ResponseId">-6</property>
			            <property name="label">gtk-cancel</property>
			          </widget>
			          <packing>
			            <property name="Expand">False</property>
			            <property name="Fill">False</property>
			          </packing>
			        </child>
			        <child>
			          <widget class="Gtk.Button" id="buttonOk">
			            <property name="MemberName" />
			            <property name="CanDefault">True</property>
			            <property name="CanFocus">True</property>
			            <property name="Events">0</property>
			            <property name="UseStock">True</property>
			            <property name="Type">StockItem</property>
			            <property name="StockId">gtk-ok</property>
			            <property name="IsDialogButton">True</property>
			            <property name="ResponseId">-5</property>
			            <property name="label">gtk-ok</property>
			          </widget>
			          <packing>
			            <property name="Position">1</property>
			            <property name="Expand">False</property>
			            <property name="Fill">False</property>
			          </packing>
			        </child>
			      </widget>
			    </child>
			  </widget>
			</SteticTemplate>
			<CodeDomFile>
				<CompileUnit>
					<Namespaces>
						<Namespace Name="">
							<Imports>
								<NamespaceImport Namespace="System" />
							</Imports>
						</Namespace>
						<Namespace Name="${Namespace}">
							<Types>
								<TypeDeclaration Name="${Name}" IsClass="true">
									<BaseTypes>
										<TypeReference BaseType="Gtk.Dialog" />
									</BaseTypes>
									<Members>
										<Constructor Attributes="Public, Final">
											<Statements>
												<MethodInvokeExpression>
													<Method>
														<MethodReferenceExpression MethodName="Build">
															<TargetObject>
																<TypeReferenceExpression Type="Stetic.Gui" />
															</TargetObject>
														</MethodReferenceExpression>
													</Method>
													<Parameters>
														<ThisReferenceExpression/>
														<TypeOfExpression Type="${FullName}" />
													</Parameters>
												</MethodInvokeExpression>
											</Statements>
										</Constructor>
									</Members>
								</TypeDeclaration>
							</Types>
						</Namespace>
					</Namespaces>
				</CompileUnit>
			</CodeDomFile>
		</Widget>
	</TemplateFiles>
</Template>
